package disjunction
{
	public class ViewConfig extends ControllerConfig
	{
		public var context:Object;

		
		/**
		 * Configuration for a View instance, be this a log file, URL stream, or
		 * graphics API. Extend this class to pass in custom parameters to the Controller.
		 * 
		 * @param updateIntervalMs The period at which view updates fire. If there is no ongoing
		 * refresh to be performed (as turn-based games), leave this at the default value of 0.
		 * @param updateTimeoutMs The maximum value which a time delta may acquire. This prevents
		 * unreasonable catch-up times if the game loses processing focus.
		 * @param context The fundamental context within which all View modifications will be made.
		 * This could be a filestream, a socket connection, or just about anything else which might
		 * represent a data view.
		 */
		public function ViewConfig(updateIntervalMs:uint, updateTimeoutMs:uint, context:Object)
		{
			super(updateIntervalMs, updateTimeoutMs);
			this.context = context;
		}
	}
}